package org.jeecg.modules.car.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.car.entity.CarParkInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 车场信息表
 * @Author: jeecg-boot
 * @Date:   2019-07-10
 * @Version: V1.0
 */
@DS("master")
public interface ICarParkInfoService extends IService<CarParkInfo> {
    List<CarParkInfo> getListByProjectId(String projectId);

    CarParkInfo getByProjectIdAndParkName(String projectId, String parkName);

    List<CarParkInfo> findPage(Page<CarParkInfo> page, CarParkInfo carParkInfo);

    CarParkInfo getByOutParkId(String outParkId);

    CarParkInfo getByParkId(String parkId);

    List<CarParkInfo> findShParking();

    CarParkInfo getBySuperviseParkId(String superviseParkId);
}
